<div class="wrapper clearfix shopping-cart">
    <!--begin map-->
    <div class="map"><a class="index" href="/index">首页</a>&nbsp;&gt;&nbsp;<a href="index.html">商品</a>&nbsp;&gt;&nbsp;购物车</div>
    <!--end map-->
    <div class="main-t">
        <!--start main-->
        <span  style="display: inline-block;padding-right: 20px;line-height: 20px;height: 20px;"></span>
        <!--排序：<span id="product-orderby" class="table-filter">加入时间↑</span>-->
        <!--<div class="target_box shadow product-orderby-target-box" id="product-orderby-box" style="position: absolute; left: 182px; top: 170px; z-index: 999; display: none;">-->
            <!--<ul>-->
                <!--<li><a href="javascript:void(0)" class="selected">加入时间</a><span data-orderby="0" class="arrow">↓</span><span data-orderby="1" class="arrow theme-color fb current">↑</span></li>-->
                <!--<li><a href="javascript:void(0)">商品编码</a><span data-orderby="3" class="arrow">↓</span><span data-orderby="2" class="arrow">↑</span></li>-->
            <!--</ul>-->
        <!--</div>-->
        <div class="fr w200 tr">
            <a class="ui-btn ui-btn-theme" href="index.html">添加商品</a>&nbsp;&nbsp;
            <a class="ui-btn clearCart" href="javascript:void(0);">清空购物车</a>
        </div>
        <div class="table-wrap">
            <input type="hidden" id="shoppingcartNum" class="shoppingcartNum" value="" autocomplete="off">
            <table class="table-carList">
                <thead>
                    <tr class="">
                        <th width="90">商品图片</th>
                        <th width="90">商品编码</th>
                        <th style="min-width:200px;table-layout: fixed;">商品名称</th>
                        <th style="width:200px;table-layout: fixed;">商品规格</th>
                        <th width="90">数量</th>
                        <th width="90">单位</th>
                        <th width="60">操作</th>
                    </tr>
                </thead>
                <tbody id="cartEntries">
                {foreach name="$shoppingCartList" item="vo"}
                    <tr class="item">
                    <td style="padding:4px 1px 1px 1px;">
                        <img src="https://resource.dinghuo123.com/images/product60x60.png">
                    </td>
                    <td>
                        <a target="blank" href="info/ids/{$vo.fid}">{$vo.b_n}</a>
                    </td>
                    <td class="tl promotionContent">
                        <a class="productname" target="blank" href="info/ids/{$vo.fid}">{$vo.name}&nbsp;&nbsp;{if $vo.type==1}(半成品){else}(成品){/if}</a>
                    </td>
                    <td></td>
                    <td>
                        <input type="number" max class="ui-input itemNum tc" value="{$vo.number}" data-id="{$vo.sid}">
                    </td>
                    <td>套</td>
                    <td>
                        <a href="javascript:void(0);" title="删除" data-id="{$vo.sid}" class="theme-color deleteItem">删除</a>
                    </td>
                </tr>
                {/foreach}

                </tbody>
                <tfoot>
                <tr class="">
                    <td class="tr box-gray" colspan="10">
                        <div class="control-box">
                            <!--<div class="fr tl">合计：<i class="red sumCount">￥</i><i class="red sumPrice">11,300.00</i>&nbsp;元</div>-->
                            <div class="fr tl">

                            </div>
                        </div>
                        <div class="controlbox">
                            <div class="control-box btn-submit fr">
                                <a class="ui-btn ui-btn-theme save" href="javascript:void(0)">立即下单</a>
                            </div>
                        </div>
                    </td>
                </tr>
                </tfoot>
            </table>
        </div>
        <!--end main-->
    </div>
</div>